Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming


Open Client interface generation

Once the Open Client interface definition is validated and updated as appropriate, the Open Client proxy or Web service definition can be generated.The Java proxy includes a set of .java and .class files. The .NET proxy is a single assembly (.dll file) containing the classes. The Web service definition includes a .wsm file and (optionally) a .wsdl file. In all cases, the activity log records any significant generation events and errors.

Generating .NET client interfaces

The .NET proxy generation options also allow you to choose from two alternative Open Client Runtime assemblies to use and deploy with your .NET proxy, depending on the level of security that your executable code demands. The basic difference between them for Open Client deployment is that the most secure runtime assemblies require more of your executable code to be rebuilt when you make a change to the Open Client application:

Depending on the option you choose (see the ".NET tab" section), .NET proxy generation causes the corresponding Open Client Runtime assemblies to be copied to the output directory (Output Dir on the General tab) for ease of deployment.

ProxyGen generation performs the following actions, writing any output to the output directory that you specify in the generate preferences (Output Dir on the General tab):

For information on the generated proxy for a Java client, see OpenEdge Development: Java Open Clients . For information on the generated proxy for a .NET client, see OpenEdge Development: .NET Open Clients . For information on the generated Web service definition, see OpenEdge Development: Web Services .

Supporting localized messages for .NET client interfaces

When ProxyGen builds the .NET proxy, it copies the required .NET runtime assemblies to the proxy generation output directory. For the message assembly, only the resources for the language matching the current local language are copied to the output directory. If you need to support a different language, you must manually copy some additional files to the output directory.

To support an alternative language or more than one language, you must copy the language resources from one of the following locations depending on your generation option:

For example, if you want to support a French deployment for a signed-only environment, copy the fr directory from OpenEdge-install-directory\dotnet\deploy\signed to your proxy generation output directory.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095